package com.esd.db.model;

import java.util.Date;


/**
 * 交流文章
 */
public class VtdArticle {
	
	private	String id;                  // 主键id
	private String articleTitle;    	// 文章标题
	private	String articleContent;	 	// 文章内容 longtext类型 
	private	int createId;           	// 文章创建用户id
	private	Date createTime;        	// 文章创建时间
	private	String createUsername;	 	// 文章创建用户的用户名
	private	int updateId;           	// 更新用户id
	private	Date updateTime;        	// 更新时间
	private int isDelete;            	// 是否删除 1是 0否
	private int isGranted;				// 是否通过审核 1是 0否
	private int isLocked;				// 是否禁止评论 1是 0否
	private int isTop;					// 是否置顶 1是 0否
	
	public VtdArticle() {
		
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getArticleTitle() {
		return articleTitle;
	}

	public void setArticleTitle(String articleTitle) {
		this.articleTitle = articleTitle;
	}

	public String getArticleContent() {
		return articleContent;
	}

	public void setArticleContent(String articleContent) {
		this.articleContent = articleContent;
	}

	public int getCreateId() {
		return createId;
	}

	public void setCreateId(int createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUsername() {
		return createUsername;
	}

	public void setCreateUsername(String createUsername) {
		this.createUsername = createUsername;
	}

	public int getUpdateId() {
		return updateId;
	}

	public void setUpdateId(int updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(int isDelete) {
		this.isDelete = isDelete;
	}

	public int getIsGranted() {
		return isGranted;
	}

	public void setIsGranted(int isGranted) {
		this.isGranted = isGranted;
	}

	public int getIsLocked() {
		return isLocked;
	}

	public void setIsLocked(int isLocked) {
		this.isLocked = isLocked;
	}

	public int getIsTop() {
		return isTop;
	}

	public void setIsTop(int isTop) {
		this.isTop = isTop;
	}

	@Override
	public String toString() {
		return "VtdArticle [id=" + id + ", articleTitle=" + articleTitle + ", articleContent=" + articleContent
				+ ", createId=" + createId + ", createTime=" + createTime + ", createUsername=" + createUsername
				+ ", updateId=" + updateId + ", updateTime=" + updateTime + ", isDelete=" + isDelete + ", isGranted="
				+ isGranted + ", isLocked=" + isLocked + ", isTop=" + isTop + "]";
	}
	
}
